//package com.joyveb.webtest.config;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
//import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//import org.springframework.web.servlet.view.InternalResourceViewResolver;
//
//import com.joyveb.lbos.restful.spring.WebRestExceptionResolver;
//
//@Configuration
//@EnableWebMvc
//public class ApplicationConfigurerAdapter extends WebMvcConfigurerAdapter{
//
//    @Override
//    public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
//        configurer.enable();
//    }
//
//    @Bean
//    public InternalResourceViewResolver viewResolver() {
//        InternalResourceViewResolver resolver = new InternalResourceViewResolver();
//        resolver.setPrefix("WEB-INF/jsp/");
//        resolver.setSuffix(".jsp");
//        return resolver;
//    }
//    
//    @Bean
//    public WebRestExceptionResolver getWebRestExceptionResolver(){
//    	WebRestExceptionResolver resolver = new WebRestExceptionResolver();
//    	return resolver;
//    }
//    
//
//}